package com.erp.service;

import com.erp.entity.UserRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pyj
 * @since 2020-11-07
 */
public interface UserRoleService {

    UserRole findUserRoleByName(String name);

    List<UserRole> getAll();

    int add(UserRole userRole);

    int delete(Integer id);

    int update(UserRole userRole);
}
